package com.javaee.term.model;

import javax.persistence.*;

@Table(name = "sale_admin")
public class SaleAdmin {
    /**
     * 销售管理员表主键
     */
    @Id
    @Column(name = "admin_id")
    private Integer adminId;

    private String account;

    private String password;

    /**
     * 获取销售管理员表主键
     *
     * @return admin_id - 销售管理员表主键
     */
    public Integer getAdminId() {
        return adminId;
    }

    /**
     * 设置销售管理员表主键
     *
     * @param adminId 销售管理员表主键
     */
    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    /**
     * @return account
     */
    public String getAccount() {
        return account;
    }

    /**
     * @param account
     */
    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    /**
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }
}